home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / technical documentation / develop / develop issue 27 / develop issue 27 code / speech recognition.frameworks / placmac / placmac read me next >
Encoding:
Text File  |  1996-06-17  |  2.2 KB  |  51 lines

  1. PlacMac
  2.  
  3. A simple program that supports speech recognition.
  4.  
  5. by Tim Monroe and Nathan Monroe-Yavneh
  6. copyright 1996 All rights reserved.
  7.  
  8. Contact: monroe@apple.com
  9.  
  10. PlacMac is almost entirely speakable. You can speak any menu command, subject to 
  11. a few limitations. In particular, any menu item whose text changes from 
  12. "Show..." to "Hide..." can be spoken at any time as "Toggle...". 
  13. For instance, you can select either "Show Class Number" or "Hide Class Number" 
  14. by uttering "Toggle Class Number". A palette selection can be made by speaking 
  15. the name of the palette followed by the desired selection; for example:
  16. "Color purple", "Symbol radioactive", "Border black".
  17.  
  18. Here is a BNF form of the language models used by PlacMac:
  19.  
  20.      <gEditLM> := "Undo" | "Cut" | ... | "Clear" | "Select All" | "OK" | "Cancel"
  21.     <gApplLM> := <gUnivLM> | <gDocuLM>
  22.  
  23.     <gUnivLM> := <UFileLM> | <UToolLM> | "About PlacMac"
  24.     <UFileLM> := "New" | "Open" | "Page Setup" | "Quit"
  25.     <UToolLM> := "Toggle" <PalName> | "Restore Orig. Colors" 
  26.                                     | "Show All Palettes" | "Hide All Palettes"
  27.  
  28.      <gDocuLM> := <DFileLM> | <DEditLM> | <DTypeLM> | <DVCmdLM> |  
  29.                  <DBCmdLM> | <DPCmdLM> | <DFontLM> 
  30.     <DFileLM> := "Close" | "Save" | "Save As" | "Revert" | "Print" | "Print One"
  31.     <DEditLM> := "Copy To Clipboard"
  32.     <DTypeLM> := "Vehicle Placard" | "Shipping Label" | "Building Placard" |
  33.                  "Fill to outer border" | "Fill to inner border" | "Set border offset"
  34.     <DVCmdLM> := "Ink" <VInkCmd> | <VTxtCmd>
  35.     <DBCmdLM> := <BHFRCmd> <BLevCmd>
  36.     <DPCmdLM> := "Border" <BordCmd> | "Background" <BackCmd> | "Color" <ColoCmd> 
  37.                                     | "Symbol" <SymbCmd> | "Select" <ColorSel>
  38.     <DFontLM> := "Font" <FontName>
  39.  
  40.     <VInkCmd> := "Black" | "White" | "Red" | ... | "Blue"
  41.     <VTxtCmd> := "Set Placard Text" | ... | "Toggle Residue Pane"
  42.     <BHFRCmd> := "Health" | "Flammability" | "Reactivity"
  43.     <BLevCmd> := "Zero" | ... | "Four"
  44.     <BordCmd> := "Black" | "White" | "None"
  45.     <BackCmd> := "Solid" | ... | "Band"
  46.     <ColoCmd> := "Black" | "White" | "Red" | ... | "Orange"
  47.     <SymbCmd> := "Explosive" | ... | "None"
  48.     <ColoSel> := "Foreground" | "Background" | "Triangle"
  49.     <FontNam> := [generated dynamically]
  50.     
  51. Check out the app's 'STR#' resources for the exact vocabulary.